With FS2004 you must change this line to your aircraft Config. for the Yaw Damper button to work..
[autopilot]
yaw_damper_gain=1.000000
x
x